package com.why.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author new wei
 * @date 2022/5/16 9:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer uid;
    @NotBlank(message = "用户名非空")
    private String uname;
    @NotBlank(message = "密码非空")
    private String upass;
}
